package com.cloudbroker.bcs.platform.ltb.common.constant.type;

/**
 * 金额类型
 * */
public enum MoneyType {
	RMB("0", "人民币") , 
	DOLLAR("1" , "美元"),
	HKD("2" , "港币");
	
	private final String val;
    
    private final String description;
    
    private String toString;
    
    private MoneyType(String val, String description) {
        this.val = val;
        this.description = description;
    }
    
    public String getVal() {
        return val;
    }
    
    public String getDescription() {
        return description;
    }
    @Override
    public String toString() {
        if (null == toString) {
            toString = new StringBuilder().append("MoneyType[").append(val).append(':').append(description)
                    .append(']').toString();
        }
        return toString;
    }
}
